<template>
	<coupon-detail :data="data"></coupon-detail>
</template>

<script>
import CouponDetail from "../act-detail/coupon-detail.vue";
import { ref } from "vue";
export default {
	components: {
		CouponDetail
	},
	onLoad(){
		const c = this.getOpenerEventChannel();
		c.on('data', (data) => {
			if (data) {
				this.data = data;
			}
		});
	},
	setup(){
		const data = ref({});
		return {
			data,
		};
	}
}
</script>

<style>

</style>
